package com.hooya.fa.eu.api.bo.report.jpk;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description jpk信息
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2025/4/15
 * @Version 1.1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JpkInfoBO {

    @Schema(description = "MM:转运(0:in,1:out);PZ:入库(0:有卖家/盘盈,1:无卖家);WZ:出库(0:个人买家/盘亏,1:公司买家)")
    @ExcelProperty(value = "sd", index = 0)
    private String type;

    @Schema(description = "编号")
    @ExcelProperty(value = "nr_dok", index = 1)
    private String number;

    @Schema(description = "inout日期")
    @ExcelProperty(value = "data", index = 2)
    private String date;

    @Schema(description = "总价")
    @ExcelProperty(value = "wartosc", index = 3)
    private String totalPrice;

    @Schema(description = "操作日期")
    @ExcelProperty(value = "data_operacji", index = 4)
    private String operationDate;

    @Schema(description = "公司")
    @ExcelProperty(value = "kontrahent", index = 5)
    private String company;

    @Schema(description = "发票号")
    @ExcelProperty(value = "faktura", index = 6)
    private String invoiceNo;

    @Schema(description = "发票日期")
    @ExcelProperty(value = "data_faktury", index = 7)
    private String invoiceDate;

    @Schema(description = "仓库1")
    @ExcelProperty(value = "mag", index = 8)
    private String place;

    @Schema(description = "出货仓库")
    @ExcelProperty(value = "dokad_rw_mm", index = 9)
    private String chck;
}
